import React from 'react'
import useCountDown from './useHook'

export default function timer1() {
    const time = useCountDown(15)
  return (
    <div>
        {time === 0 ? '活动开始': `剩余${time}秒`}
    </div>
  )
}
